var t = require("../common/index.js");

var app = getApp(), common_Js = require("../../../component/common.js");
Component({
  properties: {
    data: {
      type: Object
    },
  },
  methods: {    
    preImg: function (t) {
      console.log("preSunImg", t)
      var a = t.currentTarget.dataset.imageindex, e = t.currentTarget.dataset.imgdata || [];
      var c = [];
      for (var index in e) {
        c.push(e[index])
      }
      common_Js.preImg(a, c)
    },
  }
});